//
//  LoginViewController.h
//  SpendFunk
//
//  Created by bm on 4/18/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface LoginViewController : UIViewController <UITextFieldDelegate, NSXMLParserDelegate>{
	UITableView *m_pTableLogin;
	UIButton *m_pBtnDone;
	UIButton *m_pBtnBack;
	UIButton *m_pBtnForgotPassword;
	
	UITextField *m_ptxtEmail;
	UITextField *m_ptxtPass;
	
	NSMutableData *m_pWebData;
	NSString *currentElementValue;
	NSString *currentElement;
	
	
	BOOL isLogin;
	BOOL isContinueParse;
	
	// Please wait...
	UIView *_blockerView;
}
@property(nonatomic, retain) NSMutableData *m_pWebData;

-(void)initView;
-(void)setKeyBroadActive;
-(void)onClickBack;
-(void)onClickDone;
-(void)reqestToServer:(NSString *)email withPassword:(NSString *)pass;
-(void)onClickForgotPassword;
@end
